//
//  CYVideoDetail_CommentTableViewCell.h
//  cyydt
//
//  Created by chu on 2019/1/23.
//  Copyright © 2019 chu. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CYCommentModel.h"

NS_ASSUME_NONNULL_BEGIN

typedef void(^HuiFuBlock)(NSNumber *userId, NSNumber *commentId);
typedef void(^ZanBlock)(NSNumber *userId, NSNumber *commentId);

@interface CYVideoDetail_CommentTableViewCell : UITableViewCell<UITableViewDelegate, UITableViewDataSource>
@property (weak, nonatomic) IBOutlet UIImageView *headImageVIew;
@property (weak, nonatomic) IBOutlet UILabel *nicknameLabel;
@property (weak, nonatomic) IBOutlet UILabel *commentContentLabel;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *commentLabelHeightConstraint;
@property (weak, nonatomic) IBOutlet UITableView *replyTableView;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *replyTableViewHeightConstraint;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *tableViewMarginTopConstraint;
@property (weak, nonatomic) IBOutlet UILabel *timeLabel;
@property (weak, nonatomic) IBOutlet UIButton *zanBtn;
@property (weak, nonatomic) IBOutlet UIButton *pinlunBtn;
@property (nonatomic, strong) CYCommentModel *commentModel;
+ (instancetype)initWithTableView:(UITableView *)tableView Identifier:(NSString *)identifier;
@property (nonatomic, assign) CGFloat cellHeight;
@property (nonatomic, copy) HuiFuBlock block;
@property (nonatomic, copy) ZanBlock zanblock;

@end

NS_ASSUME_NONNULL_END
